Skip to content

fix: add a plan execution workflow for gemini-invoke workflow#465

Merged
cynthialong0-0 merged 5 commits intomainfrom
refactor/invoke-396-triage
Feb 24, 2026
Merged

fix: add a plan execution workflow for gemini-invoke workflow#465
cynthialong0-0 merged 5 commits intomainfrom
refactor/invoke-396-triage

Conversation

@cynthialong0-0
Copy link
Collaborator

Overview

This PR adds a plan execution workflow which will execute the approved plans generated from gemini-invoke workflow. The new workflow will have content write permission which resolve the permission issues in the invoke workflow. This workflow will be triggered when /approve is mentioned in the comments, and should refuse to execute if no plan being found in the issue comments.

Changes

  • Update gemini-invoke workflow to only have steps for action planning.
  • Add gemini-plan-execute workflow for plan execution: trigger on /approve comment. If no plan of action exist in the issue, nothing with be executed. If there is a plan of action found, it will be executed. If there are multiple plan of action, it will execute the latest one.
  • Update evals to include plan-execute workflow

Fixes #382
Fixes #396

@gemini-cli
Copy link
Contributor

gemini-cli bot commented Feb 17, 2026

🤖 Hi @cynthialong0-0, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link
Contributor

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This PR successfully implements a two-stage workflow (plan vs. execute) to improve security and control over the Gemini agent's actions. The architectural separation is sound and the new plan-execute workflow is well-structured with appropriate permissions. However, there are critical configuration issues pointing to a personal fork that must be resolved before merging.

🔍 General Feedback

  • Critical Configuration: Ensure all uses directives point to the canonical google-github-actions/run-gemini-cli repository, not a personal fork.
  • User Experience: The instructions provided by the agent in the invoke phase must match the commands expected by the dispatch workflow (e.g., @gemini-cli /approve).
  • Context Handling: Consider capturing additional context provided during the approval step to allow users to provide final instructions or caveats to the execution agent.

@cynthialong0-0 cynthialong0-0 requested review from alpoz11 and removed request for R2wenD2, alpoz11, benw307, haroonc and leehagoodjames February 17, 2026 23:16
@cynthialong0-0 cynthialong0-0 enabled auto-merge (squash) February 24, 2026 01:45
@cynthialong0-0 cynthialong0-0 removed the request for review from alpoz11 February 24, 2026 18:26
Copy link
Contributor

@jerop jerop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminders:

@cynthialong0-0 cynthialong0-0 merged commit 5b4d318 into main Feb 24, 2026
19 checks passed
@cynthialong0-0 cynthialong0-0 deleted the refactor/invoke-396-triage branch February 24, 2026 23:02
cynthialong0-0 added a commit that referenced this pull request Feb 25, 2026
## Changes

update the README file for the gemini assistant workflow to include the
plan-execute sub workflow.

Related #465
google-github-actions-bot added a commit that referenced this pull request Feb 25, 2026
## What's Changed
* feat: establish robust evaluation framework for workflow benchmarks by
@cocosheng-g in
#457
* fix: add a plan execution workflow for gemini-invoke workflow by
@cynthialong0-0 in
#465
* fix: update README.md for plan-execute workflow added in #465 by
@cynthialong0-0 in
#466

## New Contributors
* @cocosheng-g made their first contribution in
#457
* @cynthialong0-0 made their first contribution in
#465

**Full Changelog**:
v0.1.20...v0.1.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

gemini-cli fails to create PR after approval gemini-invoke workflow contents permission issue

4 participants